package com.ruoyi.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author nanyang
 */
public class TFlupRecordDto {

    @Data
    @ApiModel("TFlupRecordDto - Insert")
    public static class Insert {
        @ApiModelProperty("随访信息id")
        private Long flupInfoId;
        @ApiModelProperty("detailList")
        private List<TFlupRecordDetailDto> detailList;
    }

    @Data
    @ApiModel("修改随访信息")
    public static class Update {
        @ApiModelProperty("随访信息id")
        private Long flupInfoId;
        @ApiModelProperty("detailList")
        private List<TFlupRecordDetailDto> detailList;
    }

    @Data
    @ApiModel("删除随访信息")
    public static class Delete {
        @ApiModelProperty("随访信息id")
        private Long flupInfoId;
        @ApiModelProperty("codeList")
        private List<String> codeList;
    }


    @Data
    @ApiModel("查询随访信息")
    public static class Query {
        @ApiModelProperty("随访信息id")
        private Long flupInfoId;
    }


    @Data
    @ApiModel("随访记录数据")
    public static class TFlupRecordDetailDto {
        @ApiModelProperty("key")
        private String code;
        @ApiModelProperty("value")
        private String answer;
    }

}
